package com.situ.shoplookweb.service;

import com.situ.shoplook.common.model.ShoppingCart;
import jakarta.servlet.http.HttpSession;

import java.util.List;

/**
 * @Author xinchen
 * @Date: 2024/09/05/ 16:48
 * @Description
 */
public interface ShoppingCartService {
    List<ShoppingCart> getMyShoppingCartItems(Long userId);

    int addShoppingCart(ShoppingCart shoppingCart, HttpSession session);

    int updateShoppingCart(ShoppingCart shoppingCart, HttpSession session);

    int deleteShoppingCart(Long cartId,HttpSession session);
}
